package com.my
class ModifierTest {
  val name = "Modifier Test Case"
  private val remark = "this is a private val variable"
  def hello = println("hello public");
  private def helloPrivate = println("hello private")
  private[this] def helloThisPrivate = println("hello private this")
  private[ModifierTest] def helloModifier = println("hello modifire class")
}
object ModifierTest extends App {
  val v = new ModifierTest
  println(v.name);
  // println(v.remkark) // can not visit remark
  v.hello
  v.helloPrivate
  v.helloModifier
  //v.helloThisPrivate
}